package trabajoISW2.presentation.shared;

import java.util.LinkedList;
import java.util.List;

public class SubjectDTO {
	
	private String subject;
	private List<BookDTO> books = new LinkedList<BookDTO>();
	
	public SubjectDTO(String s, List<BookDTO> b){
		subject = s;
		books = b;
	}

	public String getSubject() {
		return subject;
	}

	public void setSubject(String subject) {
		this.subject = subject;
	}

	public List<BookDTO> getBooks() {
		return books;
	}

	public void setBooks(List<BookDTO> books) {
		this.books = books;
	}

}
